from getInput import *

def story1(debug = False):
	story = ""
	noun1 = getWord("Enter a noun: ", debug)
	noun2 = getWord("Enter another noun: ", debug)
	years1 = getNumber("Enter a number: ", debug)
	noun3 = getWord("Enter another noun: ",debug)
	adjective1 = getWord("Enter an adjective: ",debug)
	years2 = getNumber("Enter another number: ",debug)
	noun4 = getWord("Enter another noun: ",debug)
	adjective2 = getWord("Enter another adjective: ",debug)
	print "The Something that Somethinged!"
	
	story += "One day a " + noun1
	story += " went to the " + noun2 + ". "
	story += noun1.capitalize() + " stayed there for " 
	story += years1 + " years. "
	story += "The " + noun1.capitalize() + " then met a " + noun3.capitalize() + ". "
	story += "They became " + adjective1 + ". "
	story += years2 + " years passed, and the " + noun1.capitalize() + " and the " + noun3.capitalize()
	story += " decided to go back to the " + noun1.capitalize() + "s " + noun4 + ". "
	story += noun3.capitalize() + " was very shocked to see such a " + adjective2 + " " + noun4 + ". "

	return story
	
def story2(debug = False):
	story = ""
	name1 = getWord("Enter a name: ",debug)
	noun1 = getWord("Enter a noun: ",debug)
	name2 = getWord("Enter another name: ",debug)
	year1 = getNumber("Enter a number: ",debug)
	noun2 = getWord("Enter another noun: ",debug)
	noun3 = getWord("Enter another noun: ",debug)
	noun4 = getWord("Enter another noun: ",debug)
	adjective1 = getWord ("Enter an adjective: ",debug)
	print "Their Adventure"
	
	story += "One time there was a person named " + name1.capitalize()
	story += ", and their " + noun1
	story += ", " + name2.capitalize() + ". "
	story += "They had been friends for " + year1 + " years. "
	story += "One day " + name1.capitalize() + " and " + name2.capitalize()
	story += " decided to go on an adventure to " + noun2.capitalize() + ". "
	story += "They chose to travel by " + noun3 + ". "
	story += "When they arrived at " + noun2.capitalize() + ", " + name1.capitalize()+ " and " + name2.capitalize()
	story += " got out of their " + noun3 + " and went to find a " + adjective1 + " " + noun4
	
	
	return story

def story3 (debug = False):
	story = ""
	name1 = getWord("Enter a name: ",debug)
	adjective1 = getWord("Enter an adjective: ",debug)
	noun1 = getWord("Enter a noun: ",debug)
	noun2 = getWord("Enter another noun: ",debug)
	adjective2 = getWord("Enter another adjective: ",debug)
	noun3 = getWord("Enter another noun: ",debug)
	number1 = getNumber("Enter a number: ",debug)
	verb1 = getWord("Enter a verb: ",debug)
	print "The Thing with the Thing"
	
	story += name1.capitalize() + " was a very "
	story += adjective1 + " " + noun1
	story += ". " + name1.capitalize() + " didn't like "
	story += noun2 + " very much. "
	story += "However " + name1.capitalize() + " did like "
	story += adjective2 + " " + noun3 + ". "
	story += "In fact, " + name1.capitalize() + " had "
	story += number1 + ". "
	story += name1.capitalize() + " " + verb1 + "ed with the " + noun3
	story += " all the time. It was his favorite pass time."
	
	
	return story
